package com.teddy.DTXMB.Mapper;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.teddy.DTXMB.Model.Order;
import com.teddy.DTXMB.Model.OrderList;

@Repository
public interface OrderMapper {
	List<Order> selectAllOrderByCustomID(int id);
	Order selectOrderByID(int id);
	List<OrderList> selectOrderListByOrderID(int id);
	int addOneNewOrder(Order order);
	void addOneNewOrderList(OrderList orderList);
	List<Order> selectOrdersByPageNumber(Map<String, Object> map);

}
